#include <iostream>
#include "mammal.h"

using namespace std;

Mammal::Mammal(float h,float w)
    :heat(h),weight(w)
{
}

void Mammal:: showInfo() const
{
    cout << "体温：" << heat << endl;
    cout << "体重：" << weight << endl;
}